package com.guodu.gdpp.msg;

public class MTMessage {

	private String content;
	private String phone;
	private int msgfmt;		//4时，"4,cfc2b7a2b6ccd0c5b2e2cad4,0,1,,1,1,1"
	private String append;
	private int stat;		//提交状态
	private String msgid;	//消息ID,用于手机状态报告勾兑

	public MTMessage(String content,String phone,int msgfmt,String append){
		this.content = content;
		this.phone = phone;
		this.msgfmt = msgfmt;
		this.append = append;
		this.stat = -1;
		this.msgid = "";
	}

	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getMsgfmt() {
		return msgfmt;
	}
	public void setMsgfmt(int msgfmt) {
		this.msgfmt = msgfmt;
	}
	public String getAppend() {
		return append;
	}
	public void setAppend(String append) {
		this.append = append;
	}
	public int getStat() {
		return stat;
	}
	public void setStat(int stat) {
		this.stat = stat;
	}
	public String getMsgid() {
		return msgid;
	}

	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}

	public String toString()
	{
		return "phone="+phone+",content="+content+",stat="+stat+",msgid="+msgid+",msgfmt="+msgfmt+",append="+append;
	}

}
